﻿<telerikWindow:RadWindow    
    x:Class="Rio.Framework.Pages.ChildWindows.VentilateWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
    xmlns:navigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:Viewer="clr-namespace:Rio.Framework.Pages;assembly=Rio.Framework.Pages"  
    mc:Ignorable="d"
    xmlns:telerikWindow="http://schemas.telerik.com/2008/xaml/presentation"
    d:DesignWidth="700" d:DesignHeight="400"
    Width="700" Height="331" BorderThickness="1"
    Header="Ventiler un document">


    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="55" />
            <RowDefinition Height="34" />
            <RowDefinition Height="34" />
            <RowDefinition Height="44" />
            <RowDefinition Height="90" />
            <RowDefinition Height="34" />

        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MaxWidth="120"/>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <Border  Height="50" HorizontalAlignment="Stretch" Grid.Row="0" Grid.ColumnSpan="2">
            <Grid Width="680" Background="{x:Null}">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                    <Image Width="42" Height="42" Source="/Rio.Framework.Pages;component/Assets/Images/Viewer/Ventil.png" />
                    <TextBlock Name="ValidatorMsg"  Margin="10,5,0,5" Foreground="Red" TextWrapping="Wrap" FontWeight="Bold" Width="500"  HorizontalAlignment="Stretch" Visibility="Collapsed"  />
                </StackPanel>
            </Grid>
        </Border>

        <Button Name="ButtonTo" Width="90" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,0,5,0"   Grid.Column="0" Grid.Row="1"  Click="buttonTo_Click" />
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="1">
            <TextBox Name="ToTextBox" Width="400"  Margin="5,5,5,5" IsReadOnly="True"  />
            <TextBlock Name="AlertToMandatory" Text="*" Margin="0,10,5,0" Foreground="Red" HorizontalAlignment="Left"/>
        </StackPanel>

        <dataInput:Label Name="LabelObject" Width="110" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,5,5,0"   Grid.Column="0" Grid.Row="2" />
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="2">
            <TextBox Name="ObjectTextBox" Width="400" Margin="5,5,5,5" HorizontalAlignment="Left" MaxLength="256" />
            <TextBlock Name="ObjectToMandatory" Text="*" Margin="0,10,5,0" Foreground="Red" HorizontalAlignment="Left"/>
        </StackPanel>
        <StackPanel Orientation="Vertical" Grid.Row="3" Grid.RowSpan="4" Grid.ColumnSpan="2">
            <CheckBox Name="CheckBoxBeingNotified"  Width="400" Height="24" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,0,0,0"  />
            <CheckBox Name="CheckBoxNotifyReceiver" Width="400" Height="24" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,0,0,0"  />
        </StackPanel>
        <dataInput:Label Name="LabelMemo" Width="110" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="4,5,0,0" Grid.Row="4" Grid.Column="0" />
        <TextBox Name="MemoTextBox" Grid.Column="1" Grid.Row="4" Margin="5,5,5,5" AcceptsReturn="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" VerticalAlignment="Stretch" MaxLength="8000" />

        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="1" Grid.Row="5">
            <Button Name="buttonSend" Width="117" Height="30" Click="buttonSend_Click" />
            <Button Name="buttonCancel" Width="117" Margin="5,0,5,0" Height="30" Click="buttonCancel_Click" />
        </StackPanel>
    </Grid>
</telerikWindow:RadWindow>
